Optimal. Leaf size=166 \[ \frac{\tanh ^{-1}\left (\frac{b+2 c x^2}{\sqrt{b^2-4 a c}}\right ) \left (4 a^2 c e-2 a b (a f+3 c d)+b^3 d\right )}{2 a^2 \left (b^2-4 a c\right )^{3/2}}-\frac{d \log \left (a+b x^2+c x^4\right )}{4 a^2}+\frac{d \log (x)}{a^2}+\frac{x^2 (a b f-2 a c e+b c d)-a b e-2 a (c d-a f)+b^2 d}{2 a \left (b^2-4 a c\right ) \left (a+b x^2+c x^4\right )} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.825503, antiderivative size = 166, normalized size of antiderivative = 1., number of steps used = 8, number of rules used = 7, integrand size = 30, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.233 \[ \frac{\tanh ^{-1}\left (\frac{b+2 c x^2}{\sqrt{b^2-4 a c}}\right ) \left (4 a^2 c e-2 a b (a f+3 c d)+b^3 d\right )}{2 a^2 \left (b^2-4 a c\right )^{3/2}}-\frac{d \log \left (a+b x^2+c x^4\right )}{4 a^2}+\frac{d \log (x)}{a^2}+\frac{x^2 (a b f-2 a c e+b c d)-a b e-2 a (c d-a f)+b^2 d}{2 a \left (b^2-4 a c\right ) \left (a+b x^2+c x^4\right )} \]
Antiderivative was successfully verified.
[In] Int[(d + e*x^2 + f*x^4)/(x*(a + b*x^2 + c*x^4)^2),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 37.1041, size = 194, normalized size = 1.17 \[ \frac{2 a^{2} f - a b e - 2 a c d + b^{2} d + x^{2} \left (a b f - 2 a c e + b c d\right )}{2 a \left (- 4 a c + b^{2}\right ) \left (a + b x^{2} + c x^{4}\right )} - \frac{\left (a b f - 2 a c e + b c d\right ) \operatorname{atanh}{\left (\frac{b + 2 c x^{2}}{\sqrt{- 4 a c + b^{2}}} \right )}}{a \left (- 4 a c + b^{2}\right )^{\frac{3}{2}}} + \frac{b d \operatorname{atanh}{\left (\frac{b + 2 c x^{2}}{\sqrt{- 4 a c + b^{2}}} \right )}}{2 a^{2} \sqrt{- 4 a c + b^{2}}} + \frac{d \log{\left (x^{2} \right )}}{2 a^{2}} - \frac{d \log{\left (a + b x^{2} + c x^{4} \right )}}{4 a^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((f*x**4+e*x**2+d)/x/(c*x**4+b*x**2+a)**2,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.927853, size = 268, normalized size = 1.61 \[ -\frac{-\frac{2 a \left (b \left (-a e+a f x^2+c d x^2\right )+2 a \left (a f-c \left (d+e x^2\right )\right )+b^2 d\right )}{\left (b^2-4 a c\right ) \left (a+b x^2+c x^4\right )}+\frac{\log \left (-\sqrt{b^2-4 a c}+b+2 c x^2\right ) \left (4 a c \left (a e-d \sqrt{b^2-4 a c}\right )+b^2 d \sqrt{b^2-4 a c}-2 a b (a f+3 c d)+b^3 d\right )}{\left (b^2-4 a c\right )^{3/2}}+\frac{\log \left (\sqrt{b^2-4 a c}+b+2 c x^2\right ) \left (-4 a c \left (d \sqrt{b^2-4 a c}+a e\right )+b^2 d \sqrt{b^2-4 a c}+2 a b (a f+3 c d)+b^3 (-d)\right )}{\left (b^2-4 a c\right )^{3/2}}-4 d \log (x)}{4 a^2} \]
Antiderivative was successfully verified.
[In] Integrate[(d + e*x^2 + f*x^4)/(x*(a + b*x^2 + c*x^4)^2),x]
[Out]
_______________________________________________________________________________________
Maple [B] time = 0.024, size = 744, normalized size = 4.5 \[ \text{result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((f*x^4+e*x^2+d)/x/(c*x^4+b*x^2+a)^2,x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((f*x^4 + e*x^2 + d)/((c*x^4 + b*x^2 + a)^2*x),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 1.34886, size = 1, normalized size = 0.01 \[ \text{result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((f*x^4 + e*x^2 + d)/((c*x^4 + b*x^2 + a)^2*x),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((f*x**4+e*x**2+d)/x/(c*x**4+b*x**2+a)**2,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F(-2)] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: TypeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((f*x^4 + e*x^2 + d)/((c*x^4 + b*x^2 + a)^2*x),x, algorithm="giac")
[Out]